using System;
using NFreeMarker.Template;

namespace NFreeMarker.Core
{
    /**
     * FreeMarker command-line utility, the Main-Class of <tt>freemarker.jar</tt>.
     * Currently it just prints the version number.
     *
     * @version $Id: CommandLine.java,v 1.2 2003/09/24 12:15:08 ddekany Exp $
     */

    public class CommandLine
    {
        public static void Main(string[] args)
        {
            Console.WriteLine();
            Console.Write("FreeMarker version ");
            Console.WriteLine(Configuration.GetVersionNumber());
            Console.WriteLine();
            Console.WriteLine("Copyright (c) 2003 The Visigoth Software Society.");
            Console.WriteLine("All rights reserved.");
            Console.WriteLine();
            Console.WriteLine("This is Free software. Please read the LICENSE.txt comes with ");
            Console.WriteLine("the distribution for more details.");
            Console.WriteLine();
            Console.WriteLine("For more information and for updates visit our WWW site:");
            Console.WriteLine("http://freemarker.org/");
            Console.WriteLine();
        }
    }
}